from django.db import models


# Create your models here.
# class idconfig(models.Model):
#     terminal_id = models.CharField(max_length=64)
#     res_id = models.CharField(max_length=64)
#     config = models.CharField(max_length=1000)
#     capturedserver = models.CharField(max_length=200)
#     interval = models.CharField(max_length=200)

class dev(models.Model):
    devId = models.CharField(max_length=64)
    channelNo = models.CharField(max_length=1000)
    channel = models.CharField(max_length=1000)
    terminal = models.CharField(max_length=64)

# class rtsp(models.Model):
#     terminal_id = models.CharField(max_length=64)
#     res_id = models.CharField(max_length=64)
#     res_name = models.CharField(max_length=200)
#     camid = models.CharField(max_length=200)
#     rtsp = models.CharField(max_length=1000)
#     cam_name = models.CharField(max_length=200)


class user(models.Model):
    user_name = models.CharField(max_length=200)
    user_password = models.CharField(max_length=200)
